package com.example.administrator.testxingpiao.ui.main.mine;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Window;

import com.example.administrator.testxingpiao.R;

public class OtherOrderActivity extends AppCompatActivity {
    private Toolbar mToolBarOtherOrder;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_other_order);
        mToolBarOtherOrder= (Toolbar) findViewById(R.id.toolbarotherorder);
        mToolBarOtherOrder.setNavigationIcon(R.mipmap.gary_arrowbtn);
        mToolBarOtherOrder.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //一点就后退
                onBackPressed();
            }
        });
    }
}
